/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2023-03-07
 * Time: 16:38
 */
public class SynchronizedDemo {
    public void method(){
        synchronized (this){
            System.out.println("同步代码块");
        }
    }
}
